import * as http from '@/apiconfig/index'

export function getUser(code) {
  return http.get('/auth/userinfo', {
    code: code
  })
}
